package com.kaibes.platform.menu;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class MenuAdvice {

    @Autowired
    private MenuUtils menuUtils;
    
    @ModelAttribute("menuUtils")
    public MenuUtils menuUtils() {
        return menuUtils;
    }
    
}
